package com.leap.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leap.entity.ChatRecord;
import com.leap.entity.Message;

import java.util.List;

public interface ChatRecordService extends IService<ChatRecord> {

    List<Message> initMessages();

    void saveMessages(Long accountId, List<Message> messageList,int num,String title);

    void updateTitle(Long accountId,Long chatId,String title);

    List<ChatRecord> getChatSumByAccountId(Long accountId);
}
